package com.example.leetcode.sort;

import com.example.leetcode.sort.common.SortUtils;

import java.util.Arrays;

class Solution347 {
    public int[] topKFrequent(int[] nums, int k) {
        return SortUtils.topKFrequent(nums, k);
    }
}

public class leetcode347 {
    public static void main(String[] args) {
        Solution347 solution347 = new Solution347();
        int[] nums = {1,1,1,2,2,3};
        System.out.println(Arrays.toString(solution347.topKFrequent(nums, 2)));
    }

}
